import React from 'react';
import ReactDOM from 'react-dom';
import {BrowserRouter as Router} from "react-router-dom"
import './index.css';
import App from './App';
import store from './store';
import { Provider } from 'react-redux';
import reportWebVitals from './reportWebVitals';
import "./assets/css/index.css"
import "antd/dist/antd.css"
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';


ReactDOM.render(
  // <React.StrictMode>
    <Provider store={store}>
      <Router>
      <ConfigProvider locale={zhCN}>
    <App />
  </ConfigProvider>
      </Router>
    </Provider>,
  // </React.StrictMode>,
  document.getElementById('root')
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
reportWebVitals();
